import http from "@/api";


export const getOrgListApi = async (data) => await http.post('org/search/list', data)
export const addOrgApi = async (data) => await http.post('org/add', data)
export const updateOrgApi = async (data) => await http.post('org/update', data)
// 删除
export const deleteOrgApi = async (id) => await http.post(`org/delete/${ id }`)

// 详情
export const getOrgDetailApi = async (id) => await http.get(`org/${ id }`)
